<template>
  <div>
    <el-card shadow="never" class="mb20" style="overflow: inherit">
      <committee-form ref="committeeForm" @search="handleSearch" />
    </el-card>
    <el-card shadow="never">
      <committee-table ref="committeeTable" />
    </el-card>
  </div>
</template>

<script>
import CommitteeTable from './CommitteeTable'
import CommitteeForm from './CommitteeForm'

export default {
  components: {
    CommitteeTable,
    CommitteeForm
  },
  methods: {
    handleSearch(obj) {
      this.$refs.committeeTable.handleGetList(obj)
    }
  }
}
</script>
